{extend name="public:base" /}

{block name="content"}

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">

                    <form method="post"><div class="box-item layui-form-item adminj-sort-item" id="did_1636428015495_0" cpt_id="text">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label layui-form-label">券名称</label>
                            <div class="col-sm-3">
                                <input type="text" name="name" placeholder="请输入优惠券名称" value="{$info['name']}" class="form-control">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                    <div class="box-item layui-form-item adminj-sort-item" id="did_1636428015495_1" cpt_id="text">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label layui-form-label">使用门槛</label>
                            <div class="col-sm-3">
                                <input type="number" min="0.01" name="full_price" class="form-control" placeholder="请输入最低消费金额" value="{$info['full_price']}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                    <div class="box-item layui-form-item adminj-sort-item" id="did_1636428015496_2" cpt_id="text">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label layui-form-label">优惠金额</label>
                            <div class="col-sm-3">
                                <input type="number"  name="face_price" placeholder="请输入优惠金额" class="form-control" value="{$info['face_price']}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                    <div class="box-item layui-form-item adminj-sort-item" id="did_1636428015496_3" cpt_id="text">
                        <div class="form-group row">
                            <label class="col-sm-1 col-form-label layui-form-label">有效期（天）</label>
                            <div class="col-sm-3">
                                <input type="number" min="1" name="use_day" placeholder="请输入有效期" class="form-control" value="{$info['use_day']?$info['use_day']:1}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                    </div>
                    <div class="box-item layui-form-item adminj-sort-item" id="did_1636428015496_4" cpt_id="submitData">
                        <div class="form-group row">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="button" class="btn btn-w-m btn-default back-page">返回</button>
                                <button type="button" class="btn btn-w-m btn-primary ajax-post">提交</button>
                            </div>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}

